string(412) "SELECT DISTINCT c.documentcode AS documentcode, 100 AS score FROM content AS c, formdescriptor AS f , cmscontentmetadata AS md WHERE f.formid = c.formid AND md.documentcode = c.documentcode AND ((md.isactive = 1) AND (md.publishstartdate <= "2014-07-21 16:40:22") AND (md.publishenddate >= "2014-07-21 16:40:22") AND (c.documenttypecode = "docPortfolio")) ORDER BY md.rank ASC, c.title ASC LIMIT 0,9999" 